#ifndef GAMESNAKE_H
#define GAMESNAKE_H

#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class GameSnake; }
QT_END_NAMESPACE

class GameSnake : public QWidget
{
    Q_OBJECT

public:
    GameSnake(QWidget *parent = nullptr);
    ~GameSnake();
    //绘图事件
    void paintEvent(QPaintEvent *event);
    private:
    Ui::GameSnake *ui;
};
#endif // GAMESNAKE_H
